.index {
  width: 100%;
  height: 100%;
  min-width: 1240px;

  .header {
    width: 100%;
    padding: 0;
    height: inherit;
    background: white;
  }

  .content {
    height: 100%;
    background: @background-gray;

    .main {
      height: 100%;
    }
  }
}

:global {

  /* fade */
  .fade-enter-active,
  .fade-leave-active {
    transition: opacity 0.28s;
  }

  .fade-enter,
  .fade-leave-active {
    opacity: 0;
  }

  /* fade-transform */
  .fade-transform-leave-active,
  .fade-transform-enter-active {
    transition: all 0.5s;
  }

  .fade-transform-enter {
    opacity: 0;
    transform: translateX(-40px);
  }

  .fade-transform-leave-to {
    opacity: 0;
    transform: translateX(40px);
  }
}